package com.lego.dao;

import com.lego.bean.Administrator;

public interface AdminDao {
	/**
	 * 根据用户名和密码查询用户
	 * @param adName
	 * @param Pwd
	 * @return
	 */
	Administrator selectAdmin(String adName,String Pwd);
	
	
	/**
	 * 根据用户名查询用户
	 * @param adName
	 * @return
	 */
	Administrator selectAdminByName(String adminName);
}
